github.com/andybalholm/brotli.bitWriter.writeBits (method)
35 uses
github.com/andybalholm/brotli (current package)
bitwriter.go#L19: func (w *bitWriter) writeBits(nb uint, b uint64) {
bitwriter.go#L37: w.writeBits(1, 1)
bitwriter.go#L39: w.writeBits(1, 0)
brotli_bit_stream.go#L669: bw.writeBits(4, 1)
brotli_bit_stream.go#L670: bw.writeBits(max_bits, uint64(symbols[0]))
brotli_bit_stream.go#L774: bw.writeBits(2, 1)
brotli_bit_stream.go#L776: bw.writeBits(2, uint64(count)-1) /* NSYM - 1 */
brotli_bit_stream.go#L791: bw.writeBits(max_bits, uint64(symbols[0]))
brotli_bit_stream.go#L792: bw.writeBits(max_bits, uint64(symbols[1]))
brotli_bit_stream.go#L794: bw.writeBits(max_bits, uint64(symbols[0]))
brotli_bit_stream.go#L795: bw.writeBits(max_bits, uint64(symbols[1]))
brotli_bit_stream.go#L796: bw.writeBits(max_bits, uint64(symbols[2]))
brotli_bit_stream.go#L798: bw.writeBits(max_bits, uint64(symbols[0]))
brotli_bit_stream.go#L799: bw.writeBits(max_bits, uint64(symbols[1]))
brotli_bit_stream.go#L800: bw.writeBits(max_bits, uint64(symbols[2]))
brotli_bit_stream.go#L801: bw.writeBits(max_bits, uint64(symbols[3]))
brotli_bit_stream.go#L824: bw.writeBits(uint(kZeroRepsDepth[reps]), kZeroRepsBits[reps])
brotli_bit_stream.go#L827: bw.writeBits(uint(kCodeLengthDepth[value]), uint64(kCodeLengthBits[value]))
brotli_bit_stream.go#L834: bw.writeBits(uint(kCodeLengthDepth[value]), uint64(kCodeLengthBits[value]))
brotli_bit_stream.go#L838: bw.writeBits(uint(kNonZeroRepsDepth[reps]), kNonZeroRepsBits[reps])
compress_fragment_two_pass.go#L226: bw.writeBits(1, 0)
compress_fragment_two_pass.go#L236: bw.writeBits(2, uint64(nibbles)-4)
compress_fragment_two_pass.go#L237: bw.writeBits(nibbles*4, uint64(len)-1)
encoder.go#L20: e.bw.writeBits(4, 15)
encoder.go#L26: e.bw.writeBits(2, 3) // islast + isempty
encoder.go#L108: e.bw.writeBits(13, 0)
encoder.go#L131: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder.go#L133: e.bw.writeBits(uint(kInsExtra[insertCode]), uint64(m.Unmatched)-uint64(kInsBase[insertCode]))
encoder.go#L136: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length)-uint64(kCopyBase[copyCode]))
encoder.go#L141: e.bw.writeBits(uint(literalDepths[c]), uint64(literalBits[c]))
encoder.go#L147: e.bw.writeBits(uint(distanceDepths[distCode.code]), uint64(distanceBits[distCode.code]))
encoder.go#L149: e.bw.writeBits(distCode.nExtra, distCode.extraBits)
encoder.go#L157: e.bw.writeBits(2, 3) // islast + isempty
entropy_encode_static.go#L786: bw.writeBits(32, 0x55555554)
entropy_encode_static.go#L787: bw.writeBits(8, 0xFF)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |